#include <stdio.h>

int main(int argc, char const *argv[])
{
     FILE *file= fopen("test.txt", "r"); //r w a  r+  w+  a+
     if (file == NULL)  
     {
         printf("Error opening file!\n");
     }
     else
     {
         printf("File opened successfully!\n");
     }
     

    return 0;
}
